.container {
  background: #0a0a0a;
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  min-height: 100vh;
  overflow: auto;
}

.gridLayout {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
  max-width: 2400px;
  margin: 0 auto;
  justify-items: start;
  align-items: start;
}

.pageCard {
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
  position: relative;
  background: #000000;

  &:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 150, 255, 0.2);
    border-color: rgba(0, 150, 255, 0.3);
  }
}

.iframe {
  display: block;
  background: transparent;
  width: 100%;
  height: 100%;
}

.loading {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.8);
  color: #ffffff;
  font-size: 14px;
  z-index: 10;
  border-radius: 8px;
  
  span {
    margin-top: 15px;
    color: #888888;
  }
}

.spinner {
  width: 40px;
  height: 40px;
  border: 3px solid rgba(255, 255, 255, 0.1);
  border-top: 3px solid #0096ff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

// 响应式设计
@media (max-width: 2000px) {
  .gridLayout {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 1500px) {
  .gridLayout {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 1000px) {
  .gridLayout {
    grid-template-columns: 1fr;
  }
  
  .pageCard {
    width: 100% !important;
    max-width: 800px;
    height: auto !important;
    aspect-ratio: 16/9;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 10px;
  }
  
  .pageCard {
    margin-bottom: 15px;
  }
}

